/*
 * Decompiled with CFR 0.150.
 * 
 * Could not load the following classes:
 *  com.alibaba.fastjson.JSON
 */
package com.gys.common.business;

import com.alibaba.fastjson.JSON;
import com.gys.common.data.HttpJson;
import com.gys.common.util.ConstUtil;
import com.gys.common.util.HttpClientUtil;
import com.gys.data.deviceInfo.DeviceInfoInData;

public class DeviceInfoUtil {
    public static HttpJson getDeviceInfoList(DeviceInfoInData inData) {
        return HttpClientUtil.httpPostJson(ConstUtil.HTTP_URL + "/operation/deviceInfo/deviceInfoList", JSON.toJSONString(inData));
    }

    public static HttpJson addDeviceInfo(DeviceInfoInData inData) {
        return HttpClientUtil.httpPostJson(ConstUtil.HTTP_URL + "/operation/deviceInfo/addDeviceInfo", JSON.toJSONString(inData));
    }

    public static HttpJson getDeviceInfo(DeviceInfoInData inData) {
        return HttpClientUtil.httpPostJson(ConstUtil.HTTP_URL + "/operation/deviceInfo/getDeviceInfo", JSON.toJSONString(inData));
    }

    public static HttpJson editDeviceInfo(DeviceInfoInData inData) {
        return HttpClientUtil.httpPostJson(ConstUtil.HTTP_URL + "/operation/deviceInfo/editDeviceInfo", JSON.toJSONString(inData));
    }

    public static HttpJson selectBrDeviceList(DeviceInfoInData inData) {
        return HttpClientUtil.httpPostJson(ConstUtil.HTTP_URL + "/operation/deviceInfo/selectBrDeviceList", JSON.toJSONString(inData));
    }
}

